package com.ruoyi.campus.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 校区分销配置对象 campusdistribution
 * 
 * @author ruoyi
 * @date 2025-06-10
 */
public class Campusdistribution extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分销配置ID */
    @Excel(name = "分销配置ID")
    private Integer distributionId;

    /** 校区ID */
    @Excel(name = "校区ID")
    private Integer campusId;

    /** 分销审核 */
    @Excel(name = "分销审核")
    private Integer allowDistribute;

    /** 校区提现费率(%) */
    @Excel(name = "校区提现费率(%)")
    private Double campusWithdrawalRate;

    /** 分销员提现费率(%) */
    @Excel(name = "分销员提现费率(%)")
    private Double distributorWithdrawalRate;

    /** 分销佣金比例(%) */
    @Excel(name = "分销佣金比例(%)")
    private Double commissionRate;

    /** 申请人ID */
    @Excel(name = "申请人ID")
    private Integer applicantId;

    /** 申请人名字 */
    @Excel(name = "申请人名字")
    private String applicantName;

    /** 申请时间 */
    private String appliedAt;

    /** 审核通过时间 */
    private String reviewedAt;

    /** 创建时间 */
    private String createdAt;

    /** 更新时间 */
    private String updatedAt;

    /** 备用字段1 */
    private String demo1;

    /** 备用字段2 */
    private String demo2;

    /** 备用字段3 */
    private String demo3;

    public void setDistributionId(Integer distributionId) 
    {
        this.distributionId = distributionId;
    }

    public Integer getDistributionId() 
    {
        return distributionId;
    }

    public void setCampusId(Integer campusId) 
    {
        this.campusId = campusId;
    }

    public Integer getCampusId() 
    {
        return campusId;
    }

    public void setAllowDistribute(Integer allowDistribute) 
    {
        this.allowDistribute = allowDistribute;
    }

    public Integer getAllowDistribute() 
    {
        return allowDistribute;
    }

    public void setCampusWithdrawalRate(Double campusWithdrawalRate) 
    {
        this.campusWithdrawalRate = campusWithdrawalRate;
    }

    public Double getCampusWithdrawalRate() 
    {
        return campusWithdrawalRate;
    }

    public void setDistributorWithdrawalRate(Double distributorWithdrawalRate) 
    {
        this.distributorWithdrawalRate = distributorWithdrawalRate;
    }

    public Double getDistributorWithdrawalRate() 
    {
        return distributorWithdrawalRate;
    }

    public void setCommissionRate(Double commissionRate) 
    {
        this.commissionRate = commissionRate;
    }

    public Double getCommissionRate() 
    {
        return commissionRate;
    }

    public void setApplicantId(Integer applicantId) 
    {
        this.applicantId = applicantId;
    }

    public Integer getApplicantId() 
    {
        return applicantId;
    }

    public void setApplicantName(String applicantName) 
    {
        this.applicantName = applicantName;
    }

    public String getApplicantName() 
    {
        return applicantName;
    }

    public void setAppliedAt(String appliedAt) 
    {
        this.appliedAt = appliedAt;
    }

    public String getAppliedAt() 
    {
        return appliedAt;
    }

    public void setReviewedAt(String reviewedAt) 
    {
        this.reviewedAt = reviewedAt;
    }

    public String getReviewedAt() 
    {
        return reviewedAt;
    }

    public void setCreatedAt(String createdAt) 
    {
        this.createdAt = createdAt;
    }

    public String getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(String updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public String getUpdatedAt() 
    {
        return updatedAt;
    }

    public void setDemo1(String demo1) 
    {
        this.demo1 = demo1;
    }

    public String getDemo1() 
    {
        return demo1;
    }

    public void setDemo2(String demo2) 
    {
        this.demo2 = demo2;
    }

    public String getDemo2() 
    {
        return demo2;
    }

    public void setDemo3(String demo3) 
    {
        this.demo3 = demo3;
    }

    public String getDemo3() 
    {
        return demo3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("distributionId", getDistributionId())
            .append("campusId", getCampusId())
            .append("allowDistribute", getAllowDistribute())
            .append("campusWithdrawalRate", getCampusWithdrawalRate())
            .append("distributorWithdrawalRate", getDistributorWithdrawalRate())
            .append("commissionRate", getCommissionRate())
            .append("applicantId", getApplicantId())
            .append("applicantName", getApplicantName())
            .append("appliedAt", getAppliedAt())
            .append("reviewedAt", getReviewedAt())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("demo1", getDemo1())
            .append("demo2", getDemo2())
            .append("demo3", getDemo3())
            .toString();
    }
}
